package indi.zhifa.study2025.oa.service.dep;

import indi.zhifa.study2025.oa.dao.po.GenDepartmentEntity;
import indi.zhifa.study2025.oa.model.expose.dep.vo.DepTreeNode;

public interface IDepService {

    GenDepartmentEntity check(Long pId);
    GenDepartmentEntity checkMin(Long pId);
    GenDepartmentEntity create(GenDepartmentEntity pGenDepartmentEntity);
    GenDepartmentEntity edit(Long pId, Object pDepartmentEntityDto);
    GenDepartmentEntity checkById(Long id);
    GenDepartmentEntity delete(Long id);

    DepTreeNode getTreeNode(Long pId);


}
